package com.nativetalk.service.three.member.update;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.FoundChange.TdNtMembFoundChangeList;
import com.nativetalk.bean.member.TdNtMember;

import java.util.Map;

/**
 * Created by lizhun on 16/6/21.
 */
public interface ThreeMemberUpdateService {
    /**
     * @Purpose  绑定手机号
     * @version  3.0
     * @author   lizhun
     * @param    tdNtMember
     * @return   RetInfo
     */
    public RetInfo updateMmeberPhone(TdNtMember tdNtMember,String code);
    /**
     * @Purpose  绑定手机号 发送短信
     * @version  3.0
     * @author   lizhun
     * @param    tdNtMember
     * @return   RetInfo
     */
    public RetInfo updateMmeberPhoneSendMessage(TdNtMember tdNtMember);
    /**
     * @Purpose  领取注册优惠券
     * @version  3.0
     * @author   lizhun
     * @param    tdNtMember
     * @return   RetInfo
     */
    public RetInfo memberBindingReward(TdNtMember tdNtMember);
    /**
     * @Purpose  查找用户是否领取注册奖励
     * @version  1.0
     * @author   lizhun
     * @param    map
     * @return   TdNtMembFoundChangeList
     */
    public TdNtMembFoundChangeList findMemberByRegister(Map<String, Object> map);
}
